package com.jingdianjichi.subject.domain.convert;

import com.jingdianjichi.subject.domain.entity.SubjectAnswerBo;
import com.jingdianjichi.subject.infra.basic.entity.SubjectMultiple;
import com.jingdianjichi.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MutileSubjectBoConverter {
    MutileSubjectBoConverter INSTANCE=Mappers.getMapper(MutileSubjectBoConverter.class);

    SubjectMultiple convertAnswerBoToMultipleEntity(SubjectAnswerBo subjectAnswerBo);

    List<SubjectAnswerBo> convertEntityToBoList(List<SubjectMultiple> result);
}
